package com.yuanfengerp.inventorycheck.inadvancecheck.dao;

import com.yuanfengerp.inventorycheck.inadvancecheck.model.Checkshop;
import com.yuanfengerp.inventorycheck.inadvancecheck.model.Inadvancecheck;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface IInadvancecheckDao {

    Integer Count();
    List<Inadvancecheck> selectInadvanceAndshopAll(String document_ID);
    List<Inadvancecheck> selectInadvanceAll(Map<String ,Object> params);

    //新增一条盘点信息同时新增多条商品信息
    int insertInadvance(Inadvancecheck inadvancecheck);

    int addshop( Checkshop checkshop);

    int updateInadvance(Inadvancecheck inadvancecheck);
    int updateShop(Checkshop checkshop);

    int deleteInadvance(String document_ID);

    int deleteShop(String pm_id);

}
